package com.weijianhuawen.wjblog.admin.convert;

import com.weijianhuawen.wjblog.admin.mode.vo.article.FindArticleDetailRspVo;
import com.weijianhuawen.wjblog.common.domain.dos.ArticleDo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @version: java version 8
 * @Author: weijianhuawen
 * @description:
 * @date: 2024-10-26 17:55
 */

@Mapper
public interface ArticleDetailConvert {
    // 初始化
    ArticleDetailConvert INSTANCE = Mappers.getMapper(ArticleDetailConvert.class);

    // vo 转 do

    // do 转 vo
    FindArticleDetailRspVo convertDoToVo(ArticleDo bean);
}
